// run: $exec
#include <iostream>
#include <ctime>
#include <cstdlib>

int const up = 320;

int main()
{
	std::srand(std::time(0));
	int n = 50;
	std::cout << n << '\n';
	for (int i = 0; i < n; i++) {
		int t = rand() % up + 1;
		std::cout << t << ' ';
	}
}

